<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>
    <title>文件上传</title>
</head>

<body>
<form action=${pageContext.request.contextPath}+"/upload/submit" enctype="multipart/form-data" method="post">
    上传用户：<input type="text" name="username"></input><br/>
    上传文件1：<input type="file" name="file1"></input><br/>
    上传文件2：<input type="file" name="file2"></input><br/>
    <input type="submit" value="提交"></input>
</form>
</body>
</html>